﻿using System.Web.Helpers;
using System.Web.Http;
using Angular4DotNet.Models.Registration;
using System.Web.Mvc;
using Angular4DotNet.Models;

namespace Angular4DotNet.Controllers
{
    public class CoursesController : ApiController
    {
        RegistrationVmBuilder vmBuilder = new RegistrationVmBuilder();

        public CourseVm[] Get()
        {
            return vmBuilder.GetCourseVms();
        }
       
    }
}
